package com.lcf.system.entity;

import com.lcf.framework.model.BaseNoTenantModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单(SysOrder)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysOrder extends BaseNoTenantModel<SysOrder> {
    //id
    private Long id;
    //订单编号
    private String orderNo;
    //店铺id
    private Long storeId;
    //用户id
    private Long userId;
    //订单总价
    private BigDecimal orderPrice;
    //实际总价
    private BigDecimal realPrice;
    //商品状态1待备货2备货中3待取货4已取货
    private Integer goodsStatus;
    //订单状态1已下单2已取消3已退货
    private Integer orderStatus;
    //物流状态1待取货2配送中3已送达
    private Integer logisticsStatus;
    //付款状态1未付款2已付款
    private Integer payStatus;
    //下单时间
    private LocalDateTime orderTime;
}

